
package com.mrd.gtimp.sup.action;

import com.mrd.constant.WebPathConstants;

import org.springframework.stereotype.Component;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p> application name: gtimp <p> copyright: Copyright@2012 明睿达科技有限公司
 */

/**
 * @author luob
 */

@Component
@RequestMapping("/sup")
public class SupAction {
    private static final long serialVersionUID = 1L;

    @RequestMapping("/sup-main")
    public String main(Model model) {
//        title = "供应商后台管理";
//        left = "sup-tree.do";
//        right = "";
        model.addAttribute("title", "供应商后台管理");
        model.addAttribute("left", "sup-tree");
        model.addAttribute("right", "");
        return WebPathConstants.FRAME_WEB_PATH;
    }

    @RequestMapping("/sup-tree")
    public String tree() {
        return "/gtimp/sup/tree";
    }


}
